package com.runtime.hongyunmanage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.runtime.hongyunmanage.domain.Message;
import com.runtime.hongyunmanage.domain.vo.OrdersVo;


import java.util.List;

public interface OrdersService extends IService<OrdersVo> {
        List<OrdersVo> selectOrder(int current,int  size);
        int selectone(String createdAt,String endAt,String username,String status);
        List<OrdersVo> selectroleuserAcc(String createdAt,String endAt,String username,String status, int current, int size );

        Integer MessageCount();
        List<Message> selectMessage(int current, int  size);
        Integer totalMessage();
        Integer updateStatue(Integer messageId);
        Integer deleteMessage(Integer messageId);
        Integer markAll(Integer param);
        boolean confirmShipment(Integer orderId,String trackingNumber,String courierCompany);
}
